package com.key.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
/*
 *
 * @author liu
 *
 */
@ApiModel(value = "资产型号实体")
public class AssetModel {
  @ApiModelProperty(name = "id",notes = "型号id/主键",dataType = "int")
  private Integer id; //型号id

  @ApiModelProperty(name = "assetName",notes = "资产名称",dataType = "String")
  private String assetName; //资产名称

  @ApiModelProperty(name = "modelName",notes = "型号名",dataType = "String")
  private String modelName; //型号名

  @ApiModelProperty(name = "unit",notes = "计量单位",dataType = "String")
  private String unit; //计量单位

  @ApiModelProperty(name = "price",notes = "价格",dataType = "BigDecimal")
  private BigDecimal price; //价格

  @ApiModelProperty(name = "modelState",notes = "型号状态 0为正常 1为禁用",dataType = "Byte")
  private Byte modelState; //型号状态 0为正常 1为禁用

  @ApiModelProperty(name = "label",notes = "标签",dataType = "String")
  private String label; //标签

  @ApiModelProperty(name = "photo",notes = "照片",dataType = "String")
  private String photo; //照片

  @ApiModelProperty(name = "assetTypeId",notes = "资产分类Id",dataType = "int")
  private Integer assetTypeId; //资产分类Id


}
